package Day20.异常;

public class 异常实例1 {
    public static void main(String[] args) {

        int[] nums = {10,20,30,40,50};

        for(int i=0;i<=nums.length;i++){

            System.out.println(nums[i]);

        }

        System.out.println("程序结束");

    }
}
